﻿using System.Collections;
using System.Collections.Generic;

namespace Library.Collections.Specialized
{
    public interface IEnumerableDirection : IEnumerable
    {
        IEnumerator GetEnumerator(Direction direction);
    }

    public interface IEnumerableDirection<out T> : IEnumerable<T>, IEnumerableDirection
    {
        new IEnumerator<T> GetEnumerator(Direction direction);
    }
}
